package com.yanyeori.framework.core.exception;

import com.yanyeori.framework.core.constant.BaseErrorCode;

/**
 * 服务异常
 *
 * @author chenkuan 2022/10/25
 */
public class ServiceException extends BaseException {
    public ServiceException() {
        super();
    }

    public ServiceException(String message, Object... params) {
        super(message, params);
    }

    public ServiceException(int code, String message, Object... params) {
        super(code, message, params);
    }

    public ServiceException(Throwable cause, String message, Object... params) {
        super(cause, message, params);
    }

    public ServiceException(BaseErrorCode baseErrorCode, Object... params) {
        super(baseErrorCode, params);
    }
}
